package com.xywl.escort.view.order.purchase.completed;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class CompletedOrderModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract CompletedOrderFragment completedOrderFragment();

    @ActivityScoped
    @Binds
    abstract CompletedOrderContract.Presenter completedOrderPresenter(CompletedOrderPresenter presenter);
}
